package com.gzx.plugin.tjzy.modular.call.ht.entity.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import lombok.Data;

@Data
@ExcelIgnoreUnannotated
public class GzxCallReportVo implements TransPojo {

    private String id;

    private String agentNum;

    @ExcelProperty(value = "姓名")
    private String userName;

    @ExcelProperty(value = "接通数")
    private Integer connectCalls;

    private String info;

    @ExcelProperty(value = "总拨打数")
    private Integer totalCalls;

    @ExcelProperty(value = "接通率")
    private String connRate;

    @ExcelProperty(value = "通话时长(单位：秒)")
    private Integer callDuration;

    //    @ExcelProperty(value = "有效接通数(接通时间大于15秒)")
    private Integer validConnected;

    @ExcelProperty(value = "拒绝沟通用户数(接通时间<15秒)")
    private Integer noValidConnected;

    @ExcelProperty(value = "有效接通率(正常沟通用户)")
    private String validConnectRate;

    @ExcelProperty(value = "有效通话时长(通话时长>15秒)")
    private Integer validCallDuration;

    @Trans(type = TransType.RPC, targetClassName = "vip.xiaonuo.sys.modular.org.entity.SysOrg", fields = "name", alias = "deptId", ref = "deptName", serviceName = "snowy-web-app")
    private String deptId;

    @ExcelProperty(value = "所属部门")
    private String deptName;


}
